package cn.edu.scau.dormitory_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 
 * 
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("tb_student")
public class StudentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 表id
	 */
	@TableId(type = IdType.AUTO)
	private Integer sid;
	/**
	 * 学号
	 */
	private String stuId;
	/**
	 * 名字
	 */
	private String stuName;
	/**
	 * 性别
	 */
	private Integer sex;
	/**
	 * 电话
	 */
	private String tel;

	private String academic;

	/**
	 * 专业
	 */
	private String department;

	/**
	 * 年级
	 */
	private Integer grade;

	/**
	 * 班级
	 */
	private String clazz;



}
